package com.fastCms.business.frame.constant;

/**
 * @Description 返回结果码
 * @Date 2019/3/9 下午4:56 lsquan
 */
public class CommonConst {

    public static class SUPER_ORGANIZE {
        public static String ORGANIZE_CODE = "SUPER";

    }

    /**
     * @Description 数据状态
     * @Date 2019/3/11 下午5:30 lsquan
     */
    public static class STATE {
        /**
         * @Description 1-数据有效状态
         */
        public static int VALID = 1;
        /**
         * @Description 0-数据无效状态
         */
        public static int INVALID = 0;

    }

    /**
     * @Description 用户管理
     * @Date 2019/3/12 下午1:20 lsquan
     */
    public static class USER_MANAGER {
        /**
         * @Description token失效时长
         */
        public static final int TOKEN_TIME_OUT = 2;

        public static final String PWD_PRIVATE_KEY = "hami";


        public static final String INIT_PASSWORD = "hami123";


    }

    /**
     * @Description 客户管理
     * @Date 2019/3/12 下午1:20 lsquan
     */
    public static class CUST {
        /**
         * @Description token失效时长
         */
        public static final int TOKEN_TIME_OUT = 7 * 31 * 3;

    }

    public static class WXCHAT {
        public static final String LOGIN_CHECK_URL = "https://api.weixin.qq.com/sns/jscode2session";
    }

    public static class APP {
        public static final String APP_PRIVATE_KEY = "appHealthpro";
    }

    /**
     * @Description 会员卡相关
     * @Date 2019/3/12 下午1:20 lsquan
     */
    public static class MEMBER {
        /**
         * @Description 免费会员卡说明-富文本ID
         */
        public static final String MEMBERCARD_EXPLAIN_ID = "MEMBERCARDRICH";

        /**
         * @Description 付费会员卡过期前多少天提醒
         */
        public static final int MEMBERCARD_TO_EXPIRE_DAY = 30;
    }


    /**
     * @Description 验证码
     * @Date 2019/3/12 下午1:20 lsquan
     */
    public static class VERIFICATION {
        /**
         * @Description 验证码有效期
         */
        public static final int VALID_MILLION = 5;

        /**
         * @Description 验证码长度
         */
        public static final int VALID_LENGTH = 6;
    }


    public static final String EMPTY = "";

    public static final String TRANSVERSE_LINE = "-";


}
